<?php 
/**
* @orm tableName oneToOneParent
*/
class DomArOneTestClass extends DomArObject {
	
	/**
	* @orm text
	*/
	public $name;
	/**
	* @orm owns child DomArOneChildTestClass
	*/
	public $child;
	
	/**
	* @orm has child DomArOneChildTestClass
	*/
	public $aggrChild;
	
	public function construct( $name ) {
		$this->name = $name;
	}

}

/**
* @orm tableName oneToOneChild
*/
class DomArOneChildTestClass extends DomArObject {

	/**
	* @orm text
	*/
	public $name;

	
	public function construct( $name ) {
		$this->name = $name;
	}
}

/**
* @orm tableName oneToOneChild
*/
class DomArOneChildExtTestClass extends DomArOneChildTestClass {

}
?>